#	$Id: Makefile.inc 1046 2010-04-14 21:35:08Z phrakt $


.PATH:		${.CURDIR}/../common


.if ${HTTPD_IPV6_SUPPORT} == "yes"
CPPFLAGS+=	-DIPV6_SUPPORT
.endif



CFLAGS+=	-I../../lib -I../../include -I../../sbin

.if ${OS} == "Linux"
CFLAGS+=	-D_ISOC99_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
LDADD+=         /usr/lib/libc_nonshared.a
.endif


CFLAGS+=	-g -ggdb

.if defined(SRCS)
SRCS+=		root.c
.else
# Don't break mod.mk's behaviour
SRCS?=		${MOD_NAME}.c root.c
.endif
